/**
 * Classe che rappresenta una stanza di gioco
 * @author SPAIRisKo
 */

package org.spairisko.domain;

import java.util.ArrayList;
import java.util.List;


public class Room {

    private String name;
    private List<User> users;
    private List<Game> games;

    public Room(){
        this.users = new ArrayList<User>();
        this.games = new ArrayList<Game>();
    }

    /**
     * Costruttore
     * @param name nome della stanza
     */
    public Room(String name) {
        this.name = name;
        this.users = new ArrayList<User>();
        this.games = new ArrayList<Game>();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }

    public List<Game> getGames() {
        return games;
    }

    public void setGames(List<Game> games) {
        this.games = games;
    }
}
